{% load static %}


<div class="container-fluid">
    <div class="news-List col-12 col-md-12 col-lg-12 col-xl-12">
        <p>作者文章</p>
        <ul>
            {% for item in AutherDetailQuerySEt %}
                {% if pageId == item.pageid %}
                    <li>
                        <div style="display: inline-block;width:30px;height:30px;"><img style="width: auto;height: 100%"
                                                                                        src="{% static "admin/img/shouhui2-icons.svg" %}">
                        </div>
                        <a style="color: red"
                           href="{% url "detail" item.pageid %}">{{ forloop.counter }}.{{ item.title }}</a></li>
                {% else %}
                    <li>
                        <div style="display: inline-block;width:30px;height:30px;"><img style="width: auto;height: 100%"
                                                                                        src="{% static "admin/img/shouhui1-icons.svg" %}">
                        </div>
                        <a style="" href="{% url "detail" item.pageid %}">{{ forloop.counter }}.{{ item.title }}</a>
                    </li>
                {% endif %}

            {% endfor %}
        </ul>

    </div>
</div>